<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	@import './common/uni.css';
	@import './common/base.scss';
	@import './common/font.scss';
	@import './common/style.scss';
	
	/* 解决头条小程序组件内引入字体不生效的问题 */
	/* #ifdef MP-TOUTIAO */
	@font-face {
		font-family: uniicons;
		src: url('/static/uni.ttf');
	}
	
	/* #endif */
	page {
		background-color: #f2f2f2;
		height: 100%;
	}
	view{
		font-size: 32upx;
		line-height: 1;
	}
	.page-body {
		height: 100%;
	}
	.status_bar_height{
		height: var(--status-bar-height);	//这里是状态栏css变量
		width: 100%;
		background: #0f41e1;
	}
	.status_bg{
		width: 100%;
		background: #0f41e1;
	}
</style>
